package com.salt.modules.sys.mapper;

import com.salt.core.persistence.BaseMapper;
import com.salt.modules.sys.entity.UserAppDevice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description
 * @Author salt
 * @Date 2022/12/29
 * @Version 1.0.1
 */
@Mapper
public interface UserAppDeviceMapper extends BaseMapper<UserAppDevice> {

    UserAppDevice find(@Param("userId") String userId);

    int updateDeviceId(UserAppDevice userAppDevice);

    int updateFreeCode(UserAppDevice userAppDevice);
}
